<?php
session_start();
ob_start();
require_once 'classes.php';
$user = $_POST['username'];
$pass = $_POST['password'];

$pass = md5($pass);

$usuario = new User();
$usuario->logar($user,$pass);
header("location:../home/p/home");
?>